﻿
using PublicCommon;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using System.Threading.Tasks;

namespace BasicInformation.Domain
{
    /// <summary>
    /// 线路管理表
    /// </summary>
    [Table("Line")]
    public class Line:Audit
    {
        /// <summary>
        /// 主键自增
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 线路名称
        /// </summary>
        public string? LineName { get; set; }
        /// <summary>
        /// 起点
        /// </summary>
        public string? Origin { get; set; }
        /// <summary>
        /// 起点详情地址
        /// </summary>
        public string? OriginAddress { get; set; }
        /// <summary>
        /// 终点
        /// </summary>
        public string? EndPoint { get; set; }
        /// <summary>
        /// 终点详情地址
        /// </summary>
        public string? EndPointAddress { get; set; }
        /// <summary>
        /// 是否外协
        /// </summary>
        public int OutOrNot { get; set; }
        /// <summary>
        /// 货主名称
        /// </summary>
        public string? OwnersName { get; set; }
        /// <summary>
        /// 货主手机号
        /// </summary>
        public string? OwnersPhone { get; set; }
        /// <summary>
        /// 货主单位
        /// </summary>
        public string? OwnerUnit { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Desc { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool? State { get; set; }
    }
}
